//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "CustomerReport.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"

//---------------------------------------------------------------------------
__fastcall TfrmCustomerReport::TfrmCustomerReport(TComponent* Owner, AnsiString name, TTable * checkings)
        : TForm(Owner)
{
   qrCustomer->DataSet = checkings;
   lblNameValue->Caption = name;
   txtRight->DataSet   = checkings;
   txtRight->DataField = "RIGHT";
   txtLeft->DataSet   = checkings;
   txtLeft->DataField = "LEFT";
   txtDate->DataSet   = checkings;
   txtDate->DataField = "DATE";
}
//---------------------------------------------------------------------------
void TfrmCustomerReport::Preview()
{
   qrCustomer->Preview();        
}
//---------------------------------------------------------------------------
